<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>vw和rem结合完成移动端的适配</title>
  <style>
    html {
      font-size: 13.3333vw;
    }
    .outer {
      box-shadow: 0 0 0.15rem #cccccc;
      margin-bottom: 0.4rem;
      font-size: 0.16rem;
      display: flex;
      justify-content: space-between;
      padding: 0.2rem
    }
    .left {
      width: 1.5rem;
      text-align: center;
      font-size: 0.2rem;
      letter-spacing: 0.2rem;
    }
    .right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    img {
      width: 100%;
    }
    @media (min-width: 560px) {
      html {
        font-size: 54px;
      }
    }
  </style>
</head>
<body>
  <div class="outer">
    <div class="left">
      <img src="./logo.png" class="img" />
      <p class="left-text">当日修</p>
    </div>
    <div class="right">
      深圳市钜鸿通科技有限公司
    </div>
  </div>
  <div class="outer">
    <div class="left">
      <img src="./logo.png" class="img" />
      <p class="left-text">当日修</p>
    </div>
    <div class="right">
      深圳市钜鸿通科技有限公司
    </div>
  </div>
</body>
</html>